placessidebar: fix documentation
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 27 Jul 2015 19:47:40 +0000 (16:47 -0300)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Tue, 28 Jul 2015 10:03:09 +0000 (07:03 -0300)
Use the same explanation of why GtkPlacesSidebar::show-connect-server
was deprecated and its replacements on getter and setter.

Also, fix a mistakenly deprecated function.

gtk/gtkplacessidebar.c

index 08e28b68b08b5aa0d77b90059478cb8372175a07..e86dd4ddbad6b5cb9401c314b838945b6775849b 100644 (file)
@@ -4707,7 +4707,8 @@ gtk_places_sidebar_set_show_connect_to_server (GtkPlacesSidebar *sidebar,
  *
  * Returns: %TRUE if the sidebar will display a “Connect to Server” item.
  *
- * Deprecated: 3.18: use gtk_places_sidebar_get_show_other_locations() instead.
+ * Deprecated: 3.18: It is recommended to group this functionality with the drives
+ *     and network location under the new 'Other Location' item
  */
 gboolean
 gtk_places_sidebar_get_show_connect_to_server (GtkPlacesSidebar *sidebar)
@@ -4729,7 +4730,7 @@ gtk_places_sidebar_get_show_connect_to_server (GtkPlacesSidebar *sidebar)
  * If you enable this, you should connect to the
  * #GtkPlacesSidebar::show-enter-location signal.
  *
- * Deprecated: 3.18: use gtk_places_sidebar_set_show_other_locations() instead.
+ * Since: 3.14
  */
 void
 gtk_places_sidebar_set_show_enter_location (GtkPlacesSidebar *sidebar,